package com.bright.ghj.overt.util;

import com.bright.ghj.overt.pojo.dto.UserDTO;
import com.bright.ghj.user.pojo.dto.CommonUserDTO;

/**
 * @Author hxj
 * @Date 2024/11/13 20:20
 * @Description
 */
public class SecurityUtil {

    public static UserDTO getLoginUser() {
        UserDTO loginUser = com.bright.ghj.user.util.SecurityUtil.getLoginUser();
        if (loginUser == null) {
            // 临时用户
            loginUser = new UserDTO(null, "超级用户");
        }
        return loginUser;
    }

}
